
const utils =require('./validator')

const enums = {};

enums.enumsToRuleEnumArray = function (o) {
    var e = [];
    for (var item in o) {
        if (!utils.isNull(o[item].value)) {
            e.push(o[item].value)
        }
    }
    return e;
}

module.exports = enums;